package com.demo.scenic.mapper;

import com.demo.scenic.domain.ScenicBase;
import com.demo.scenic.domain.ScenicBaseExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ScenicBaseMapper {
    long countByExample(ScenicBaseExample example);

    int deleteByExample(ScenicBaseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ScenicBase record);

    int insertSelective(ScenicBase record);

    List<ScenicBase> selectByExample(ScenicBaseExample example);

    ScenicBase selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ScenicBase record, @Param("example") ScenicBaseExample example);

    int updateByExample(@Param("record") ScenicBase record, @Param("example") ScenicBaseExample example);

    int updateByPrimaryKeySelective(ScenicBase record);

    int updateByPrimaryKey(ScenicBase record);

    List<ScenicBase> selectScenicRandom();
}